<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0043)http://user.anjuke.com/member/ask/40577934/ -->
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
	<meta name="format-detection" content="telephone=no"></meta>
	<title>个人信息</title>
	
	<link rel="stylesheet" rev="stylesheet" href="${pageContext.request.contextPath}/users/css/My_Member_V2_MyQuestion.css" type="text/css"></link>
	<script src="${pageContext.request.contextPath}/users/js/layer/layer.js"></script>
	<link rel="icon" href="http://pages.anjukestatic.com/favicon.ico" type="image/ico"></link>
	<link rel="shortcut icon" href="http://pages.anjukestatic.com/favicon.ico"></link>
</head>
<body>
<div id="container">
    <div id="content">
        <div id="popup_container" class="dialog" style="display: none;">
            <div id="popup_main">
                <div class="border">
                    <div class="close"><img src="${pageContext.request.contextPath}/users/image/icon.close_8x9.gif" alt=""></img></div>
                    <div class="msg" id="message_container"></div>
                </div>
            </div>
        </div>
        <div class="main_container clearfix ">
            <div class="left_container">
                <div class="side-boxer">
					<div class="user-info">
					<p class="first">
						<span><img src="${u.userImg }"></img></span>
						</p>
					<p class="sed">
					<button type="button" id = "modify" onclick = "imgModify(this)">修改头像</button>
					</p>
					</div>
					<div class="side-menu">
					<a href="${pageContext.request.contextPath}/users/jsp/MyInfo.jsp" class="menu-item" target="MenuFrame">
						<i class="ask"></i>个人信息<span class="arrow-icon"></span>
					</a>
					<a href="${pageContext.request.contextPath}/users/jsp/RecordList.jsp" class="menu-item" target="MenuFrame">
						<i class="collection"></i>发布记录<span class="arrow-icon"></span>
					</a>
					<a href="${pageContext.request.contextPath}/users/jsp/OrderList.jsp" class="menu-item" target="MenuFrame">
						<i class="ask"></i>交易记录<span class="arrow-icon"></span>
					</a>
					 
					</div>
					<div class="shadow-boxer"></div>
				</div>

            </div>
			<div class="right_container">
				
				<!---我的回答板块开始-->
				<div id="MyAnjuke">
					<div class="show">
					<ul class="user_details">
							<li>
								权限：<em>用户</em>
							</li>
							<li>
								本次登录：<em><%=session.getAttribute("time")%></em>
							</li>
					</ul>
											<!--自己登录看自己的-->
						<div class="question_content">
							<ul class="question_tab">
								<li>信息浏览</li>	
							</ul>
						</div>
						<div id="page_content">
						 <iframe id="menuFrame" name="menuFrame" src="${pageContext.request.contextPath}/users/jsp/MyInfo.jsp" width="95%" height="545"  frameborder="no" border=”0″>
						 </iframe>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	$(function(){
		$(".menu-item").click(function(){
			var href = $(this).attr('href');
            $('#page_content').empty();
			$.ajax({
				type: "GET",
				url: href,
				success: function(data) {
					$('#page_content').append(data);
				}
			});
			return false;
		});
	});
	function imgModify(curr){
  		var index = layer.open({
  		type: 2,
  		area: ['300px', '300px'],
  		shadeClose: true, //点击遮罩关闭
  		content: '${pageContext.request.contextPath}/users/jsp/updateImg.jsp',
  		}); 
	}
</script>

</body>